<template>
	<view>
		<view class="zy-status-bar"></view>
		
		<view class="zy-ph-50">
			<view class="zy-register-title" > 你的</view>
			<view class="zy-register-title2" > 登录密码是？</view>
			
			<input class="zy-register-input zy-mt-50" v-model="data.passWord" placeholder=" 请输入登录密码" password />
			
			<zy-register-bottom @next="next">
				<view></view>
			</zy-register-bottom>
	    </view>
	</view>
</template>

<script>
	import RouteUtil from '@/main/common/RouteUtil.js';
	import CacheUtil from '@/main/common/CacheUtil';
	export default {
		data() {
			return {
				data: {
					sex: '',
					nick: '',
					birthday: '',
					passWord: ''
				},
			};
		},
		onLoad() {
			// this.data = CacheUtil.getRegisterUser();
		},
		methods: {
			next() {
				if (!this.data.passWord) {
					uni.$toast.showToast('请填写登录密码');
					return;
				}
				CacheUtil.setRegisterUser(this.data)
				RouteUtil.toRegister1()
			}
		}
	};
</script>

<style lang="scss" scoped>
</style>